package cn.venny.clickhouse.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import ru.yandex.clickhouse.settings.ClickHouseProperties;

@Configuration
@ConfigurationProperties(prefix = "spring.datasource.clickhouse")
public class ClickHouseCustomProperties extends ClickHouseProperties {

    /**
     * url
     * eg： jdbc:clickhouse://127.0.0.1:8123
     */
    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}